package com.mindcraft.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mindcraft.media.model.Dto.UploadFileParamsDto;
import com.mindcraft.media.model.Dto.UploadFileResultDto;
import com.mindcraft.media.model.po.MediaFiles;

public interface MediaFileService extends IService<MediaFiles> {

    /**
     * 上传文件
     *
     * @param uploadFileParamsDto 上传文件信息
     * @param localFilePath       文件磁盘路径
     * @param userInfo
     * @return 文件信息
     */
    public UploadFileResultDto uploadFile(UploadFileParamsDto uploadFileParamsDto, String localFilePath, String userInfo);
}
